.class Lcom/xingbook/park/activity/az;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/xingbook/park/activity/ay;

.field private final synthetic b:Lcom/xingbook/park/activity/RegAct;


# direct methods
.method constructor <init>(Lcom/xingbook/park/activity/ay;Lcom/xingbook/park/activity/RegAct;)V
    .locals 0

    iput-object p1, p0, Lcom/xingbook/park/activity/az;->a:Lcom/xingbook/park/activity/ay;

    iput-object p2, p0, Lcom/xingbook/park/activity/az;->b:Lcom/xingbook/park/activity/RegAct;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3

    iget-object v0, p0, Lcom/xingbook/park/activity/az;->b:Lcom/xingbook/park/activity/RegAct;

    invoke-static {v0}, Lcom/xingbook/park/activity/RegAct;->b(Lcom/xingbook/park/activity/RegAct;)Z

    move-result v0

    if-eqz v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    iget-object v1, p0, Lcom/xingbook/park/activity/az;->b:Lcom/xingbook/park/activity/RegAct;

    const-class v2, Lcom/xingbook/park/activity/AccountManagerAct;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iget-object v1, p0, Lcom/xingbook/park/activity/az;->b:Lcom/xingbook/park/activity/RegAct;

    invoke-virtual {v1, v0}, Lcom/xingbook/park/activity/RegAct;->startActivity(Landroid/content/Intent;)V

    :cond_0
    iget-object v0, p0, Lcom/xingbook/park/activity/az;->b:Lcom/xingbook/park/activity/RegAct;

    invoke-virtual {v0}, Lcom/xingbook/park/activity/RegAct;->finish()V

    return-void
.end method
